<template>
	<component :is="component" :paraMap="paraMap"></component>
</template>

<script>
	export default {
		name: 'MainContentArea',
		data() {
			return {
				paraMap:null,
				component:"",
			}
		},methods: {
			setComponent(component,paraMap){
				this.paraMap=paraMap;
				if(this.component==component){
					this.component="";
					this.$nextTick(function(){
						this.component=component;
					});	
				}else{
					this.component=component;
				}
			}
		},
	}
</script>

<style>
</style>
